<?php
/**
 * Created by PhpStorm.
 * User: wxp
 * 日期: 2019/1/21
 * 时间: 13:15
 */

namespace app\modules\admin\assets;

use yii\web\AssetBundle;

class AppAsset extends AssetBundle
{
    // public $basePath = '@webroot';
    // public $baseUrl = '@web/adminL';
    public $sourcePath = '@webroot/adminL';

    public $css = [
        'bower_components/bootstrap/dist/css/bootstrap.min.css',
        'bower_components/font-awesome/css/font-awesome.min.css',
        'bower_components/Ionicons/css/ionicons.min.css',
        'toastr/toastr.min.css',
        'dist/css/AdminLTE.min.css',
        'dist/css/skins/_all-skins.min.css',
        'dist/css/rageframe.css',
    ];

    public $js = [
        'bower_components/bootstrap/dist/js/bootstrap.min.js',
        'bower_components/jquery-slimscroll/jquery.slimscroll.min.js',
        'bower_components/fastclick/lib/fastclick.js',
        'layer/layer.min.js',
        'dist/js/contabs.js',
        'dist/js/adminlte.min.js',
        'dist/js/demo.js',
        'dist/js/adminL.js',
    ];

    public $depends = [
        'yii\web\YiiAsset',
        'app\modules\admin\assets\JqueryAsset',
    ];
}